<?
class Feitico {
	
	protected $data	= array();
	
	function __construct ($nome) {
		//$this->data['id']	= rand(1,999999);
		$this->data['nome']	= $nome;
		$this->data['time']	= floor(time());

	}
	
	public function getValue($key) {
		return $this->data[$key];
	}
	
	public function toArray() {
		return $this->data;
	}
}
?>